package com.tiger.distributelock;

public interface Lock {

    boolean lock(String resource);

    boolean lock(String resource, long expireTime);

    void unlock(String resource);

}
